package esi.ws;

import java.util.ArrayList;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import com.thoughtworks.xstream.annotations.XStreamOmitField;

@XStreamAlias("catalog_title")
public class MovieResponse {

    private String id;
    private Title title;
    @XStreamAlias("release_year")
    private int releaseYear;
    @XStreamAlias("box_art")
    private BoxArt boxArt;
    @XStreamImplicit(itemFieldName = "link")
    private ArrayList<Link> link;
    @XStreamAlias("average_rating")
    private String averageRating;
    private int runtime;
    @XStreamImplicit(itemFieldName = "category")
    private ArrayList<Category> category;
    @XStreamOmitField
    private Locations locations;

    public void setLocations(Locations locations) {
        this.locations = locations;
    }

    public Locations getLocations() {
        return locations;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Title getTitle() {
        return title;
    }

    public void setTitle(Title title) {
        this.title = title;
    }

    public int getReleaseYear() {
        return releaseYear;
    }

    public void setReleaseYear(int releaseYear) {
        this.releaseYear = releaseYear;
    }

    public BoxArt getBoxArt() {
        return boxArt;
    }

    public void setBoxArt(BoxArt boxArt) {
        this.boxArt = boxArt;
    }

    public ArrayList<Link> getLink() {
        return link;
    }

    public void setLink(ArrayList<Link> link) {
        this.link = link;
    }

    public String getAverageRating() {
        return averageRating;
    }

    public void setAverageRating(String averageRating) {
        this.averageRating = averageRating;
    }

    public int getRuntime() {
        return runtime;
    }

    public void setRuntime(int runtime) {
        this.runtime = runtime;
    }

    public ArrayList<Category> getCategory() {
        return category;
    }

    public void setCategory(ArrayList<Category> category) {
        this.category = category;
    }

}
